package com.hongying.consumer;

public class TestAbstractC {
    public static void main(String[] args) {

        AbstractB abstractB = new AbstractB() {
            @Override
            public void testA() {
                System.out.println("abc.....");
            }
        };

        abstractB.testB();
        abstractB.testA();

    }


}
